<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="app"></div>
</body>
<script src="./MVVM/mvvm.js"></script>
<script src="./MVVM/observer.js"></script>
<script src="./MVVM/compile.js"></script>
<script src="./MVVM/watcher.js"></script>
<script>
    var vm = new MVVM({
        el:"#app",
        data:{
            //数据描述符
            msg:"hello world",
            a:{
                b:{
                    c:"c"
                }
            }
        }
    })

    //访问描述符
    console.log(vm.msg,"---")
    console.log(vm.a.b.c,"---")
</script>
</html>